package com.peas.platform.module.icims.base.mdm.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 省市区
@Data
@EqualsAndHashCode(callSuper = false)
public class RegionDto extends BaseDto {

    // 省市区类型
    // 1:国家、2:省/直辖市、3:市、4:区县
    // 枚举取值:RegionType
    @Comment(value = "省市区类型", enumType = "RegionType")
    private String regionType;

    // 省市区编码
    @Comment(value = "省市区编码")
    private String regionCode;

    // 省市区名称
    @Comment(value = "省市区名称")
    private String regionName;

    // 状态
    // 枚举取值:CommonEnableDisable
    @Comment(value = "状态", enumType = "CommonEnableDisable")
    private String state;

    // 上级省市区ID
    // （省市区表）外键
    @Comment(value = "上级省市区ID")
    private Long parentId;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
